/**
 * 
 */
package nl.boektrust.btsoep.client;

import java.util.Date;

import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

/**
 * @author rao3
 *
 */
public abstract class EditBookVerticalPanel extends EditBookPanel {
	Object value;// = new String("");


	public EditBookVerticalPanel(String label, Date value, boolean isInEditMode) {
		super(label,isInEditMode);
		this.value = value;
			/*if (super.isInEditMode() == true) {
			setToEditMode();
		} else {
			setToDisplayMode();
		}*/
	}
	
	public EditBookVerticalPanel(String label, String value, boolean isInEditMode) {
		super(label,isInEditMode);
		this.value = value;
		if (isInEditMode == true) {
			setToEditMode();
		} else {
			setToDisplayMode();
		}
	}


	public EditBookVerticalPanel(String label, boolean isInEditMode) {
		this(label, "", isInEditMode);
		
	}

	public EditBookVerticalPanel(boolean isInEditMode) {
		this("", isInEditMode);
	}

	public EditBookVerticalPanel(String label) {
		this(label, false);
	}

	public EditBookVerticalPanel() {
		this(false);
	}
}
